import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { Button, Checkbox, CheckboxGroup, Cell, Search, CellGroup, List, Dialog, Swipe, Grid, SwipeItem, GridItem, Tabbar, TabbarItem, NavBar, Form, Field, Toast } from 'vant'

// 把vant中所有的组件都导入了Cell
// Vue.use(Vant) import { Search } from 'vant';
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Search)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(List)
Vue.use(Dialog)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(GridItem)
Vue.use(Grid)
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Toast)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
